import request from '@/utils/request'

// 获取路由
export const getRouters = () => {
  const timestamp = new Date().getTime();
  const urlTimestamp = parseInt(timestamp.toString().slice(0, -3));
  return request({
    url: `/jeecg-boot/sys/permission/getUserPermissionByToken?_t=${urlTimestamp}`,
    method: 'get'
  })
}